package org.springblade.modules.admin.enums.erp.tables;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.modules.admin.enums.erp.ERPTableEnum;

/**
 * 商品出库表
 * @author: Sharry
 * @createTime: 2025-07-28 11:08
 * @version: Version-1.0
 */
@Getter
@AllArgsConstructor
public enum ProductSalesOrderEnum {

	/**
	 * 状态
	 */
	STATUS(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(),"2200000486803904","状态","category"),

	/**
	 * 申请发货日期
	 */
	REQUEST_DATE(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(),"2200000486804111","申请发货日期","date"),

	/**
	 * 实际出库日期
	 */
	ACTUAL_DATE(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(),"2200000486803911","实际出库日期","date"),

	/**
	 * 发货方式
	 */
	SHIPPING_METHOD(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(),"2200000486803987","发货方式","category"),

	/**
	 * 发货人
	 */
	SHIPPER(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(),"2200000486804158","快递公司","text"),

	/**
	 * 物流/快递号
	 */
	TRACKING_NUMBER(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(),"2200000486803910","物流/快递号","text"),

	/**
	 * 出库单关联关系
	 */
	DELIVERY_NOTE(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(),"2200000486803946","出库单关联关系","text"),


	/**
	 * Search relation filed
	 */
	SEARCH_RELATION_FILED(ERPTableEnum.PRODUCT_SALES_ORDER.getTableId(), "1102001101000000","销售订单号隐藏字段搜索id","text");

	/**
	 * 对应 ERP表格ID
	 */
	final String tableId;

	/**
	 * 字段 ID
	 */
	final String fieldId;

	/**
	 * 字段名称
	 */
	final String name;

	/**
	 * 数据类型
	 */
	final String dataType;
}
